package yt.kpool.adapter;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.ImageView;

import com.king.base.adapter.ViewHolderAdapter;
import com.king.base.adapter.holder.ViewHolder;

import java.util.List;

import yt.kpool.R;
import yt.kpool.bean.AddMinerRemarkBean;
import yt.kpool.bean.CurrencyList;
import yt.kpool.network.NetHelperNew;
import yt.kpool.util.imageUtil.GlideUtil;

/**
 * 矿工添加方法上部列表
 * Created by Administrator on 2017/8/7.
 */

public class AddMinerTopListAdapter extends ViewHolderAdapter<AddMinerRemarkBean.DataBean.TextListBean> {

    public AddMinerTopListAdapter(Context context, List<AddMinerRemarkBean.DataBean.TextListBean> listData) {
        super(context, listData);
    }

    @Override
    public View buildConvertView(LayoutInflater layoutInflater, AddMinerRemarkBean.DataBean.TextListBean listBean, int position) {
        return layoutInflater.inflate(R.layout.item_addminer_top_layout,null);
    }

    @Override
    public void bindViewDatas(ViewHolder holder,AddMinerRemarkBean.DataBean.TextListBean listBean, int position) {
        holder.setText(R.id.tv_title,listBean.getTitle());
        holder.setText(R.id.tv_content,listBean.getContent());


    }
}
